package cn.qfei.qiyuesuo.common;

import java.util.HashMap;
import java.util.Map;


/**
 * 系统常用常量定义
 */
public class Constant {

    //appId 占位符
    public static final String  appIdPlaceholder="{appIdPlaceholder}";

    public static final String TENANT_KEY="{tenantKey}";

    public static final Map<String, String> receiveIdTypeMap = new HashMap<String, String>() {
        {
            put("1", "open_id");
            put("2", "user_id");
            put("3", "union_id");
            put("4", "email");
            put("5", "chat_id");
        }
    };


    /**
     * Apaas 员工规模
     */
    public static final Map<String, String> APAAS_EMPLOYEE_NUMBER_SPACE = new HashMap<>() {{
        put("1-9", "1-19");
        put("10-19", "1-19");
        put("20-49", "20-49");
        put("50-99", "50-99");
        put("10-99", "50-99");
        put("100-199", "100-199");
        put("100-299", "100-199");
        put("200-299", "200-299");
        put("300-499", "300-499");
        put("500-999", "500-999");
        put("1000-2999", "1000-2999");
        put("3000-4999", "3000-9999");
        put("5000-9999", "3000-9999");
        put("10000-99999", "10000+");
        put("100000+", "10000+");
    }};


    /**
     * 飞书应用未启用
     */
    public static final String FEISHU_APP_FORBIDDEN_CODE="10014";

}
